﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeChartWorkRobot.Common
{
    public class ConstService
    {
        public static readonly string XmlStander = "<?xml version=\"1.0\" encoding=\"utf-8\"?><{0} xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"></{0}> ";

        public static readonly string DefaultServiceName = "HighData.Robot";
        public static readonly string DefaultServiceDisplayName = "HighData机器人";
        public static readonly string DefaultServiceDescription = "巡检Jira中的任务，定时在群里发提醒";

        public static readonly string NOT_NAME_TASK_DISPLAY_USER = "未分配";

        public static readonly string APP_DATA_PATH = "App_Data";

        public static readonly string NOMAL_TEXT_MSG_PATH = "NomalTextMsg.xml";
        public static readonly string NOMAL_TEXT_MSG_CONTENT = string.Format(XmlStander, "ArrayOfWxMsg");

        public static readonly string CST_TEXT_MSG_PATH = "CustomerWxMsg.xml";
        public static readonly string CST_TEXT_MSG_CONTENT = string.Format(XmlStander, "ArrayOfCustomerWxMsg");


        public static readonly string JIRA_CONFIG_PATH = "JiraConfig.xml";
        public static readonly string JIRA_CONFIG_CONTENT = string.Format(XmlStander, "JiraConfig");

        public static readonly int NEAR_BY_ACTIVE_SPRINT_NUMB = 3;

    }
}
